package com.cgtu.cgtucalculator.enity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sys_user")  // 数据库表名
public class User {

    @TableId  // 主键
    private Long id;

    private String name;
    private Integer age;
    private String email;
    private String password;

    private LocalDateTime createTime; // 自动映射 LocalDateTime
}
